//
//  YYSliderCaptchaView.h
//  SHWheel
//
//  Created by YYKJ on 2020/8/4.
//  Copyright © 2020 YYKJ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <DWSlideCaptchaView.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZGCaptchaSlider : UISlider

@end

@interface ZGSliderCapchaView : DWSlideCaptchaView

@end

@interface YYSliderCaptchaView : UIView

@property (nonatomic, copy) void (^identifierCheckCompletion) (BOOL isSuccess);

@property (nonatomic, strong) ZGCaptchaSlider *slider;

///验证视图
@property (nonatomic ,strong) DWSlideCaptchaView * captchaView;

///实例化方法
- (instancetype)initWithFrame:(CGRect)frame image:(UIImage *)image;

/// 刷新页面，重新验证
- (void)refresh;

- (void)showAnimation:(BOOL)animation;
- (void)dismissWithCompletion:(void(^)(BOOL isSuccess))completion;

@end

NS_ASSUME_NONNULL_END
